package community.hospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @author ydj
 * @TableName operation_log
 */
@TableName(value ="operation_log")
@Data
@Accessors(chain = true)
public class OperationLog implements Serializable {
    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 请求地址
     */
    private String requestUrl;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 请求的模块
     */
    private String moduleName;

    /**
     * 请求的方法
     */
    private String methodName;

    /**
     * 接口的描述信息
     */
    private String description;

    /**
     * 
     */
    private Integer state;

    /**
     * 请求的时间
     */
    private Date gmtCreate;

    /**
     * 
     */
    private Date gmtModifies;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}